package com.ruoyi.carbon.service.impl;

import com.ruoyi.carbon.domain.YikuInfo;
import com.ruoyi.carbon.mapper.YikuInfoMapper;
import com.ruoyi.carbon.service.YikuInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class YikuInfoServiceImpl implements YikuInfoService {

    @Autowired
    private YikuInfoMapper yikuInfoMapper;

    @Override
    public List<YikuInfo> getYikuList(YikuInfo yikuInfo) {
        return yikuInfoMapper.getList(yikuInfo);
    }

    @Override
    public int delByIds(Long[] ids) {
        return yikuInfoMapper.delByIds(ids);
    }
}
